package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Getter
@Setter
@ToString
@TableName("payment")
public class Payment {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer user_id;
    private Integer goods_id;
    private Integer seckill_goods_id;
    private String payway;//支付方式
    private BigDecimal price;
    private LocalDateTime pay_time;//支付时间
    private Integer is_del;
}
